home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 4-Demos / Apple Demos / Tutorials / Display Card 4•8⁄8•24 Training / Display Card 4•8_8•24 Training / background_21160.txt < prev    next >
Text File  |  1990-03-19  |  2KB  |  116 lines

  1. -- background: 21160 from stack: in
  2. -- bmap block id: 4747
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: helpBack
  6. ----- HyperTalk script -----
  7. on closeBackground
  8.   global mapLoc
  9.   put 2 into mapLoc
  10.   put "yes" into line 2 of field "footprints" of card "Map"
  11. end closeBackground
  12.  
  13.  
  14.  
  15. -- part 1 (field)
  16. -- low flags: 01
  17. -- high flags: 0000
  18. -- rect: left=132 top=70 right=315 bottom=509
  19. -- title width / last selected line: 0
  20. -- icon id / first selected line: 0 / 0
  21. -- text alignment: 0
  22. -- font id: 156
  23. -- text size: 14
  24. -- style flags: 0
  25. -- line height: 16
  26. -- part name: cardText
  27.  
  28.  
  29. -- part 2 (field)
  30. -- low flags: 01
  31. -- high flags: 0000
  32. -- rect: left=128 top=22 right=44 bottom=508
  33. -- title width / last selected line: 0
  34. -- icon id / first selected line: 0 / 0
  35. -- text alignment: 0
  36. -- font id: 21
  37. -- text size: 18
  38. -- style flags: 0
  39. -- line height: 20
  40. -- part name: cardTitle
  41.  
  42.  
  43. -- part 3 (button)
  44. -- low flags: 00
  45. -- high flags: 2000
  46. -- rect: left=482 top=317 right=342 bottom=510
  47. -- title width / last selected line: 0
  48. -- icon id / first selected line: 18613 / 18613
  49. -- text alignment: 1
  50. -- font id: 0
  51. -- text size: 12
  52. -- style flags: 0
  53. -- line height: 16
  54. -- part name: return
  55. ----- HyperTalk script -----
  56. on mouseUp
  57.   global lastPush
  58.   pop card into lastPush
  59.   if the short name of this stack is not in lastPush then
  60.     visual dissolve
  61.     go card "Map"
  62.   else
  63.     visual dissolve
  64.     go lastPush
  65.   end if
  66. end mouseUp
  67.  
  68.  
  69.  
  70. -- part 7 (field)
  71. -- low flags: 01
  72. -- high flags: 0000
  73. -- rect: left=128 top=0 right=21 bottom=508
  74. -- title width / last selected line: 0
  75. -- icon id / first selected line: 0 / 0
  76. -- text alignment: 0
  77. -- font id: 21
  78. -- text size: 18
  79. -- style flags: 10240
  80. -- line height: 19
  81. -- part name: Title
  82.  
  83.  
  84. -- part 9 (field)
  85. -- low flags: 81
  86. -- high flags: 0000
  87. -- rect: left=0 top=330 right=342 bottom=108
  88. -- title width / last selected line: 0
  89. -- icon id / first selected line: 0 / 0
  90. -- text alignment: 0
  91. -- font id: 3
  92. -- text size: 9
  93. -- style flags: 0
  94. -- line height: 9
  95. -- part name: cardName
  96.  
  97.  
  98. -- part 11 (button)
  99. -- low flags: 00
  100. -- high flags: A000
  101. -- rect: left=449 top=3 right=18 bottom=510
  102. -- title width / last selected line: 0
  103. -- icon id / first selected line: 0 / 0
  104. -- text alignment: 0
  105. -- font id: 3
  106. -- text size: 10
  107. -- style flags: 2048
  108. -- line height: 13
  109. -- part name: Contents
  110. ----- HyperTalk script -----
  111. on mouseUp
  112.   visual effect dissolve
  113.   go card "content 0"
  114. end mouseUp
  115.  
  116.